package com.pet.hostpital.wsg.demo;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.stereotype.Component;

@Component
@ConditionalOnProperty(value = "eureka.status.open",matchIfMissing = true)
@EnableDiscoveryClient
public class JudgeEnableDiscoveryClient {
}